home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinMessenger 2.xpl < prev    next >
Text File  |  2002-01-10  |  2KB  |  69 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="1"
  3. "COUNT"="4"
  4. "UIPATH"="Internet\Instant Messaging\Windows Messenger\Servers"
  5. "NAME"="Default Servers"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.09"
  8. "TEXT 1"="Server 1"
  9. "TEXT 2"="Server 1 suffix"
  10. "TEXT 3"="Server 2"
  11. "TEXT 4"="Server 2 suffix"
  12. "DESCRIPTION 1"="You may change the values for the four items above to suit your preference."
  13. "DESCRIPTION 2"="The default values are "hotmail.com" (no quotes) for Server 1/suffix and "msn.com" (no quotes) for Server 2/suffix."
  14. "DESCRIPTION 3"="This may not work on newer releases of the MSN Messenger/Windows Messenger service.."
  15. "AUTHOR"="Xteq Systems"
  16. "CONTACTURL"="http://www.xteq.com"
  17. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  18. "COMMENT 1"=" "
  19. "COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
  20.  
  21.  
  22. sPath="HKLM\Software\Microsoft\MessengerService\Domains\"
  23. sV1="Domain0"
  24. sV2="DomainSuffix0"
  25. sV3="Domain1"
  26. sV4="DomainSuffix1"
  27.  
  28. Sub Plugin_Initialize 
  29.  if RegPathExists(sPath) then
  30.     s=RegReadValue(sPath & sV1)
  31.     SetUIElement 1,s
  32.     s=RegReadValue(sPath & sV2)
  33.     SetUIElement 2,s
  34.     s=RegReadValue(sPath & sV3)
  35.     SetUIElement 3,s
  36.     s=RegReadValue(sPath & sV4)
  37.     SetUIElement 4,s
  38.  else
  39.     Disable
  40.  end if
  41. End Sub
  42.  
  43.  
  44. Sub Plugin_CheckData(ElementIndex)
  45. End Sub
  46.  
  47.  
  48.  
  49. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  50.  s=GetUIElement(1)
  51.  Call RegWriteValue(sPath & sV1,s,1)
  52.  
  53.  s=GetUIElement(2)
  54.  Call RegWriteValue(sPath & sV2,s,1)
  55.  
  56.  s=GetUIElement(3)
  57.  Call RegWriteValue(sPath & sV3,s,1)
  58.  
  59.  s=GetUIElement(4)
  60.  Call RegWriteValue(sPath & sV4,s,1)
  61. End Sub
  62.  
  63.  
  64. Sub Plugin_Terminate 
  65. End Sub
  66.  
  67.  
  68.  
  69.